@aidBrellaGreen: #469e01;

/*************** Mixins ***************/
.roundedCorners (@radiusTR: 10px, @radiusBR: 10px, @radiusBL: 10px, @radiusTL: 10px) {
    -moz-border-radius-topright: @radiusTR; 
    -webkit-border-radius-topright: @radiusTR; 
    border-top-right-radius: @radiusTR;

    -moz-border-radius-bottomright: @radiusBR; 
    -webkit-border-radius-bottomright: @radiusBR; 
    border-bottom-right-radius: @radiusBR;

    -moz-border-radius-bottomleft: @radiusBL; 
    -webkit-border-radius-bottomleft: @radiusBL; 
    border-bottom-left-radius: @radiusBL;   

    -moz-border-radius-topleft: @radiusTL; 
    -webkit-border-radius-topleft: @radiusTL; 
    border-top-left-radius: @radiusTL;   

    -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
}
.boxShadow () {
    -moz-box-shadow: 3px 5px 5px #666, -3px 2px 5px #666;
    -webkit-box-shadow: 3px 5px 5px #666, -3px 2px 5px #666;
    box-shadow:  3px 5px 5px #666, -3px 2px 5px #666;
}
.box {
    background: #dfe5bb url('/static/images/stripes.png') repeat-x;
    border: 1px solid #bab99a;
}
.buttonMixin {
    font-size: 95%;
    font-weight: normal;
    width: 80px;
}

/*************** All pages ***************/
body {
    font-size: 16px;
    font-family: arial !important;
}

a {
    text-decoration: none;
    color: #375814;
}

td, th {
    text-align: left;
}

.displayNone {
    display: none;
}

.uppercase {
    text-transform: uppercase;
}

.bold {
    font-weight: bold;
}

#menuBar {
    @userPictureHeight: 30px;
    @verticalPadding: 5px;
    .box;
    .roundedCorners(0px, 0px, 10px, 10px);

    position: absolute;
    top: 0.3em;
    right: 0;
    height: @userPictureHeight + @verticalPadding * 2;
    padding-top: @verticalPadding;
    z-index: 1;
    font-size: 90%;

    ul {
        list-style: none;

        li {
            float: right;
            margin-top: 10px;
            margin-right: 1em;
        }
        li:last-child {
            margin-left: 1em;
        }
        .picture {
            margin-top: 0;
            margin-right: 0.4em;
            border: 1px solid #bab99a;
        }
    }
}

/*************** Index page - welcome box ***************/
#welcome {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.25);
}

#welcomeBox {
    .box;
    .boxShadow;
    .roundedCorners;

    position: fixed;
    top: 25%;
    height: 40%;
    min-height: 285px;
    left: 15%;
    width: 70%;
    min-width: 820px;
    padding: 2em;
    padding-top:1em;
}

#welcomeLogo {
    position: relative;
    left: -81px;
}

#welcomeMessage {
    float: left;
    width: 30%;
    position: relative;
    bottom: 1em;

    p {
        margin-bottom: 1.5em;
    }
    p:last-child {
        margin-bottom: 0;
    }
    span.keyWord {
        color: @aidBrellaGreen;
    }
}

#welcomeForm {
    position: relative;
    top: -150px;
    margin-top: 2em;
    float: right;
    width: 60%;
    margin-left: 1em;
    font-size: 88%;

    .title label{
        display: inline;
    }
    .bullet {
        @bulletDiameter: 26px;
        @bulletTopOffset: 5px; /* To vertically center number in the circle */

        .roundedCorners(@bulletDiameter / 2, @bulletDiameter / 2, @bulletDiameter / 2, @bulletDiameter / 2);

        position: relative;
        display: inline-block;

        width: @bulletDiameter;
        padding-top: @bulletTopOffset;
        top: -@bulletTopOffset;
        height: @bulletDiameter - @bulletTopOffset;

        margin-right: 10px;
        text-align: center;
        color: white;
        background-color: #ceaa61;
    }
    .uppercase {
        color: #676760;
        letter-spacing: 0.1em;
    }
    form {
        padding-right: 5%;
        position: relative;
        left: 36px;
    }
    input[type=text], input[type=password] {
        height: 30px;
    }
    table td{
        vertical-align: middle;
        padding-right: 0.8em;
    }
    #welcomeSignUp {
        form {
            margin-bottom: 4em;
        }
        input[type=text], td:first-child {
            width: 100%;
        }
        input[type=button] {
            .buttonMixin;
        }
    }
    #welcomeLogin {
        input[type=text], input[type=password] {
            width: 100%;
            min-width: 100%;
        }
        input[type=button] {
            .buttonMixin;
        }
        form {
            margin-bottom: 2em;
        }
        td.inputTd {
            width: 50%;
        }
    }

    #welcomeGuest {
        button {
            .buttonMixin;
            width: 30%;
        }
    }

}

/*************** project "pop-up" ***************/
.projectPopUp {
    .box;
    .boxShadow;
    .roundedCorners(10px, 10px, 0px, 0px);
    @popUpPadding: 1em;

    overflow: visible;
    position: fixed;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;

    .projectPopUpHead {
        height: 100px;
        color: #6b6d3e;
        padding: @popUpPadding;

        a {
            font-size: 200%;
        }
        .projectLogo {
            float: left;
        }
        .projectSummary{
            width: 85%;

            td {
                vertical-align: middle;
                height: 1em;
                padding-left: 0.7em;
            }
        }
        .projectActions {
            float: right;
            position: absolute;
            top: 1em;
            right: -25px;
            background-image: url('/static/images/ribbon-arrow-left.png');
            width: 150px;
            height: 52px;

            a {
                font-size: 100%;
            }
            ul {
                padding-top: 5px;

                li {
                    float: left;
                    padding-left: 20px;

                    a {
                        color: white;
                    }
                }
            }
        }
    }
    .projectPopUpBody {
        @panelBgColor: white;

        a {
            color: #6b6d3e;
        }
        .projectFeeds, .projectInfo {
            background-color: @panelBgColor;
            clear: right;
            padding-top: 2em;
            -moz-box-shadow: 3px 0px 5px #666;
            -webkit-box-shadow: 3px 0px 5px #666;
            box-shadow:  3px 0px 5px #666;
        }
        .projectFeeds {
            .shareFeed {
                @pictureHeight: 50px;

                padding: @popUpPadding;
                padding-top: 0;
                min-height: @pictureHeight + 10px;

                input {
                    float: right;
                    margin-bottom: 0.4em;
                }
                input[type=text] {
                    width: 100%;
                }
                input[type=submit] {
                    .buttonMixin;
                }
                .picture {
                    float: left;
                    width: 15%;
                }
                .body {
                    float: right;
                    width: 82%;
                }
            }
        }
        .projectInfo {
            .baseInfos {
                padding-bottom: 1em;

                td, th {
                    padding: 0.5em @popUpPadding;
                    font-size:  80%;
                }
                th {
                    font-weight: bold;
                    font-size: 90%;
                    color: grey;
                }
            }
            h2 {
                background: url("/static/images/ribbon-big-left.png") no-repeat;
                height: 35px;
                color: white;
                position: relative;
                right: 30px;
                margin-bottom: 1em;
                
                span {
                    position: relative;
                    top: 8px;
                    left: 25px;
                }
            }
        }
        .projectTabs {
            list-style: none;

            li {
                padding: 0.6em 1em;
                float: right;
                background-color: rgba(0,0,0,0.1);
            }
            li.selectedTab {
                background-color: @panelBgColor;
                border: 1px solid #bec3a1;
                border-bottom: none;
                position: relative;
            }
        }
    }
    .bubbleList{
        padding: @popUpPadding;
    }
}

/*************** bubbles ***************/
.bubbleList {
    background: #ecf0ef url('/static/images/stripes.png') repeat-x;
    border-top: 2px solid #abd2c8;
    border-bottom: 2px solid #abd2c8;

    .userBubble {
        margin-bottom: 1em;
    }
}

.userBubble {
    @pictureHeight: 50px;

    min-height: @pictureHeight + 5px;

    .bubblePicture {
        float: left;
    }
    .bubbleBody {
        @marginBelow: 0.2em;
        
        display: table-cell;
        padding-left: 1em;

        .feedEntry {
            .userName {
                padding-bottom: @marginBelow;
            }
            .feedText {
                margin-bottom: @marginBelow;
                font-size: 80%;
            }
            .feedDate {
                font-style: italic;
                font-size: 90%;
                color: grey;
            }
        }
    }
}
/*
.index-map
{
    width: 100%;
    min-height: 507px;
}

#main {
	width: 100%;		
	min-height: 509px;	
}
*/


body,html {
	color:#000;
	background:#fff;
}
#wrap {
	/*
	margin-left:1px;	
	margin-right:1px;	
	border: 1px solid #99CC99; */
}
#header {
	padding:5px 10px;	
    /*	border: 1px solid #99CC99;*/
	height:42px;
	background: #729433;
    /*	background: url("./images/navbg-green.jpg") repeat-x scroll center top #729433;*/
}
#logo-m-over
{
    cursor:pointer;
}
h1 {
    margin:0;	 
    font-size:35px;
}
#header a
{
    text-decoration:none;
}
#header a:visited
{
   text-decoration:none; 
}
#nav {
	padding:5px 10px;			
	margin: 1px;
	background: url("./images/green-head.jpg") repeat-x scroll center top #729433;
	height:40px;
}
ul{
    margin: 0 auto;
    padding: 0;
}
ul.horizontal_list li{
    text-align: left;
    float: left;
    list-style: none;
    padding: 3px 10px 3px 10px;
    margin: 5px;  
    border-right: 1px solid #CCC;
   
}
#nav ul a{
   text-decoration: none;     
   padding: 3px 10px 3px 25px;  
   color: #FFFFFF;   
}
 #nav ul a:hover {
   text-decoration: none;     
   padding: 3px 10px 3px 25px;  
   color: #FFFFFF;   
   background-image: url("./images/navbg-green.jpg");
   width:100%;
   height:40px;
}

h2 {
	margin:0 0 1em;
}
#sidebar {
	float:right;		
	padding:10px;
	width:24%;
	margin:2px;
	border: 1px solid #99CC99;
	
}
#footer {
	clear:both;
    height:30px;
	background: #729433;
}
#footer p {
	
	text-align:center;
	font-size:11px;
	color:#fff;
}
* html #footer {
	height:3px;
}

.map {
    position: relative;
    width: 100%;
    height:500px;
    min-height:500px;
    margin-bottom: 2px; 
}
.infobox {
    position: absolute;
    border: solid 2px black;
    background-color: White;
    z-index: 1000;
    padding: 5px;
    width: 180px;
}
  
#infoboxText
{
    background-color:White;    
    border: 1px solid #729433; 
    min-height:100px; 
    position:absolute;
    top:0px; 
    left:2px; width:200px;
}
 
#infoboxText a
{

    font-weight:bold;    
    font-size:12px;
    padding:5px;
}
.twtr-timeline
{
    background:#fff;
}
 
.header-h1 
{
    color: #fff;
    font-weight:bold;
    font-size:35px;
    margin-left:20px;
    margin-top:4px;
    text-decoration:none;
}

.infobox-desc
{
    padding:4px;
    margin:2px;
    font-size:11px;
}
div.row {float: left; margin: 0; padding: 2px; width: 98.5%; font-size:13px}
div.cols2 {float: left;  margin: 0 3px 0 0; padding:3px;}
.desc
{
    padding:2px;
    font-size:13px;
    margin:2px;
}
#noname
{
    width:80%;
    height:250px;
}
#create-project
{
    width:45%;
    float:left;
}

label, input { display:block; }
fieldset { padding:0; border:0; margin-top:25px; }
		
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }

#dialog-form
{
    width:480px;
    height:450px;
}
#d-form
{
    height:210px;
    clear:both;
}

#login-window
{
    background:#e0e6bc;  
    height:350px;
    width:700px;   
}
#login-left 
{
    float:left;
    width:45%;
}
#login-right
{
    float:right;
}

#mini-map-holder
{
    width: 50%;
    height:360px; 
    float:right;
}
#project-detail
{
    width:60%;
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-size:13px;
    margin:5px;
    padding:4px;
}
#project-top
{
    font-size:11px;
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    padding:3px;
    border:1px solid #729433;
    margin:2px;
}
#project-wall
{
    padding:3px;
}
.project-detail-heading
{
    font-size:15px;
}

#tweet-holder
{
    float:right;
    width:40%;
}
#project-list

{
    width:60%;
}
#share-button
{
  
    background:#729433;
    width:120px;
    height:40px;
}

#feed-holder
{
    float: left;
    width: 50%;  
}

.project-map
{
    position: absolute;
    width: 45%;
    height:300px;
}
#project-map-holder
{
    width:45%;
    height:360px; 
    float:right;
}

#user-context-view
{
    width:170px;
    min-height:500px;
    float:left; 
    border-right:1px solid #729433;
}
#user-feed
{
    float:left;
    width:50%;
}
#detail-header
{
    width:50%;   
}
#follow-project
{
    float:right;   
}
.own-project
{
    border:2px solid #729433;
    margin:4px;
}

.followup-project
{
    border:2px solid #FF0000;
    margin:4px;
}
.b-comment
{
    color:Blue;
    font-weight:normal;
}
.p-logo
{
    float:left;
    padding:2px;
}
.p-status
{
    color:Green;
    font-family: Gothic;
    padding:3px;
    vertical-align:top;
}
.p-updateinfo
{
    margin-top:-3px;
    color:Gray;
    font-size:9px;
}
.p-txt
{
    width:80%;
}
#stream div.stream-composer {
    border-bottom: 1px solid #EDEDED;
    clear: both;
    font-size: 12px;
    margin: 10px 0 0;
    padding-bottom: 5px;
    position: relative;
    z-index: 1;
}

 div.stream-composer form {
    float: none;
    margin: 0;
    width: auto;
}
 div.stream-composer .textarea-box {
        width: 500px;
        height: 40px;
        border: 3px solid #cccccc;
        padding: 5px;
        font-family: Tahoma, sans-serif;      
}
#project-context-view
{
    width:30%;
    float:left; 
}
#project-feed
{
    float:left;
    width:70%;
}
.add-comment
{
    padding: 5px;
    font-family: Tahoma, sans-serif; 
    background-color:#ECECEC;
}
.comment-txt-area
{
   width:300px;
   height:65px; 
   font-family: Tahoma, sans-serif; 
   font-size:11px;
}
.comment-button
{
   
    background:#729433;
    width:120px;
    height:25px;
}
.feed-comment
{
    padding: 5px;
    font-family: Tahoma, sans-serif; 
    background-color:#ECECEC; 
}
